package com.javaee.service.admin;

import com.javaee.entity.Board;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mo
 * @since 2024-11-27
 */
public interface BoardService  {
boolean insertBoard(Board board);


    Boolean deleteBoard(Integer id);

    Board getBoardById(Integer id);

    Boolean updateBoard(Board board);

    List<Board> searchBoard(String keyword, int pageNum, int pageSize);

    int selectCount();

}
